home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Original Shareware 1.1
/
The Original Shareware (WeMake CDs)(Volume 1.1)(CDs, Inc)(1993).iso
/
38
/
giftif.zip
/
RLETIF.H
< prev
next >
Wrap
C/C++ Source or Header
|
1989-11-22
|
1KB
|
33 lines
/*----------------------------------------------------------------------*/
/* Copyright (c) 1988-1989 */
/* by CompuServe Inc., Tucson, AZ. All Rights Reserved */
/* RLETIF.H can be copied and distributed freely for any */
/* non-commercial purposes. RLETIF.H can only be incorporated */
/* into commercial software with the permission of CompuServe Inc. */
/*----------------------------------------------------------------------*/
/* Header file RLETIF.H */
/*
* Routine to repeatedly call compress_huffman_code for all run lengths
* in a provided rle_line.
*/
extern void compress_huffman_line( rle_line *emit_line );
/*
* Routine to add bits to the compressed Huffman bit stream (by calling
* TIF_write_bits) that represent the color and length of run specified.
*/
extern void compress_huffman_code( colors color_of_run,
int length_of_color );
/*
* Routine to accumulate and/or write to a file the specified compressed bits.
*/
extern void TIF_write_bits( short int size_to_write,
unsigned int bit_value );